package nju.software.tagmanager.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 系统日志表
 * @TableName sys_log
 */
@TableName(value ="sys_log")
@Data
public class SysLog implements Serializable {
    /**
     * 
     */
    @TableId(value = "`id`", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id，在用户删除时限制，用户更新时级联
     */
    @TableField(value = "`user_id`")
    private Integer userId;

    /**
     * 操作时间
     */
    @TableField(value = "`time`")
    private LocalDateTime time;

    /**
     * 操作信息
     */
    @TableField(value = "`info`")
    private String info;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}